﻿#ifndef __SS_LIGHT_H__
#define __SS_LIGHT_H__
#include "../ssComponent.h"

namespace StarSeeker
{

enum LIGHT_TYPE
{
	LIGHT_TYPE_NULL = 0,
	LIGHT_TYPE_POINT,
	LIGHT_TYPE_DIR,
	LIGHT_TYPE_SPOT
};

class ssLight : public ssComponent
{
public:
	ssLight(void);
	virtual ~ssLight(void);

	//判断灯光类型
	bool IsType(LIGHT_TYPE type);
	LIGHT_TYPE GetType();

protected:
	LIGHT_TYPE			m_lightType;
public:
	ssfloat				m_lightIntensity;//光强
};

}
#endif
